package com.suishoupai.xmb.service;

import com.suishoupai.xmb.dao.CutUserBuyMapper;
import com.suishoupai.xmb.entity.UserBuy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by caojian on 2017/4/20.
 */
@Service
public class UserBuyService {
    @Autowired
    private CutUserBuyMapper cutUserBuyMapper;

    public List<UserBuy> getAllByScoreDesc() {
        return cutUserBuyMapper.selectAllByScoreDesc();
    }
}
